home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / info / memlist.arc / MEMLIST.MSG < prev   
Internet Message Format  |  1988-09-23  |  2KB

  1. From: cgs@umd5.umd.edu (Chris Sylvain)
  2. Newsgroups: comp.binaries.ibm.pc
  3. Subject: memlist, show MS-DOS memory allocation information
  4. Date: 20 Sep 88 23:00:17 GMT
  5. Keywords: MEMLIST, PCResource
  6. Summary: memlist.arc, show MS-DOS memory allocation information
  7. Approved: dhesi@bsu-cs.UUCP
  8.  
  9. This program unravels MS-DOS's (on most machines, Versions 2.0 up to
  10. 3.3) memory control blocks (MCBs) and prints the information it finds.
  11. If run under MS-DOS 3.0 or later, it will also print the name it can
  12. find for each program in memory.  The commenting and wording of
  13. printing messages have been changed in a number of places.
  14.  
  15. MS-DOS allocates blocks in 16-byte paragraphs, so multiply the block
  16. size reported by the program by 16 to determine the block length in
  17. bytes.
  18.  
  19. Microsoft has never officially documented how MSDOS allocates memory,
  20. so much of this program is based on techniques others have discovered.
  21.  
  22. Written for MASM 5.0 by Hardin Brothers for PCResource. The original
  23. appeared in the July 1988 issue of their magazine.  Entire contents of
  24. the July 1988 issue, Copyright 1988 by IDG Communications/Peterborough,
  25. Inc.
  26.  
  27. Chris Sylvain
  28. ARPA: cgs@umd5.UMD.EDU     BITNET: cgs%umd5@umd2
  29. UUCP: ..!uunet!umd5.umd.edu!cgs
  30.  
  31. [
  32. The executable and assembly source are included.
  33.  
  34. Memlist works very nicely, and gives a nice clean display of what is in
  35. memory.
  36.  
  37. Since this program was published in PC Resource magazine, and typed by
  38. Chris Sylvain from the printed listing, I suggested that he investigate
  39. the magazine's copyright policy.  He explained Usenet to the magazine,
  40. and here is a slightly edited summary of what he told me:
  41.  
  42.     "1.   If the code is obtained from the Clone Phone BBS, then
  43.           it is OK to distribute for free.
  44.  
  45.     "2.    Since I typed it in from the pages of the magazine, it is
  46.        essentially OK to distribute for free as long as it is
  47.        attributed to the magazine.
  48.  
  49.     "I asked him if it was the spirit of proper attribution that was
  50.      most essential, and he assented.  They have my name and phone
  51.      number, and I described very briefly to him what is USENET.
  52.  
  53.     "So it sounds to me that you may post MEMLIST with permission, and
  54.      the other things that I have from the magazine will be OK to post
  55.      as well."
  56.  
  57. PC Resource readers readers should therefore feel free to submit good
  58. programs obtained from the magazine, with proper credit to the source.
  59.  
  60. -- R.D.
  61. ]
  62.